import { Component, OnInit } from '@angular/core';
var img=require('modules/img');
@Component({
  selector: 'app-base-footer',
  templateUrl: './base-footer.component.html',
  styleUrls: ['./base-footer.component.less']
})
export class BaseFooterComponent implements OnInit {
	img=img;
  href = location.href;
	boo = this.href.indexOf('index.html') > -1 || this.href.indexOf('html') === -1;
	link = this.boo ? './view' : '.';
	icon={
			link: this.link,
			phone: img.phone,
			email: img.email
	};
	list=[{
			title: '第一志愿',
			list: [{
				content: '购买VIP',
				href: this.link + '/become-vip.html'
			}, {
				content: '激活VIP',
				href: this.link + '/become-vip.html'
			}]
		}, {
			title: '主要功能',
			list: [{
				content: '按分推荐大学',
				href: this.link + '/recommond.html?index=0'
			}, {
				content: '大学录取概率',
				href: ''
			}, {
				content: '模拟填志愿',
				href: ''
			}, {
				content: '智能填志愿',
				href: ''
			}]
		}, {
			title: '关于我们',
			list: [{
				content: '公司简介',
				href: 'http://www.gaiwenkeji.com/'
			}, {
				content: '产品说明',
				href: this.link + '/become-vip.html'
			}]
		}];
		download=[{
			title: 'IOS下载',
			src: img.qr
		}, {
			title: "安卓下载",
			src: img.qr
		}];
  constructor() { 
//	this.download=[{
//			title: 'IOS下载',
//			src: img.qr
//		}, {
//			title: "安卓下载",
//			src: img.qr
//		}];
  }

  ngOnInit() {
  }

}